package com.self.cgqcompose.ui.components.areacode

import android.graphics.fonts.FontStyle
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
import com.self.cgqcompose.beans.AreaBlock

@Composable
fun BlockTitle(data: AreaBlock) {
    Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween) {
        Text(text = data.data.label.name, fontWeight = FontWeight.Bold )
        Text(text = "更多", fontSize = 12.sp)
    }
}